Integrand size = 14, antiderivative size = 131 \[ \int (c+d x)^m \cos (a+b x) \, dx=-\frac {i e^{i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,-\frac {i b (c+d x)}{d}\right )}{2 b}+\frac {i e^{-i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,\frac {i b (c+d x)}{d}\right )}{2 b} \]
[Out]
Time = 0.16 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3388, 2212} \[ \int (c+d x)^m \cos (a+b x) \, dx=\frac {i e^{-i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,\frac {i b (c+d x)}{d}\right )}{2 b}-\frac {i e^{i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,-\frac {i b (c+d x)}{d}\right )}{2 b} \]
[In]
[Out]
Rule 2212
Rule 3388
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \int e^{-i (a+b x)} (c+d x)^m \, dx+\frac {1}{2} \int e^{i (a+b x)} (c+d x)^m \, dx \\ & = -\frac {i e^{i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,-\frac {i b (c+d x)}{d}\right )}{2 b}+\frac {i e^{-i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,\frac {i b (c+d x)}{d}\right )}{2 b} \\ \end{align*}
Time = 0.05 (sec) , antiderivative size = 122, normalized size of antiderivative = 0.93 \[ \int (c+d x)^m \cos (a+b x) \, dx=-\frac {i e^{-\frac {i (b c+a d)}{d}} (c+d x)^m \left (e^{2 i a} \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,-\frac {i b (c+d x)}{d}\right )-e^{\frac {2 i b c}{d}} \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,\frac {i b (c+d x)}{d}\right )\right )}{2 b} \]
[In]
[Out]
\[\int \left (d x +c \right )^{m} \cos \left (b x +a \right )d x\]
[In]
[Out]
none
Time = 0.10 (sec) , antiderivative size = 96, normalized size of antiderivative = 0.73 \[ \int (c+d x)^m \cos (a+b x) \, dx=\frac {i \, e^{\left (-\frac {d m \log \left (\frac {i \, b}{d}\right ) - i \, b c + i \, a d}{d}\right )} \Gamma \left (m + 1, \frac {i \, b d x + i \, b c}{d}\right ) - i \, e^{\left (-\frac {d m \log \left (-\frac {i \, b}{d}\right ) + i \, b c - i \, a d}{d}\right )} \Gamma \left (m + 1, \frac {-i \, b d x - i \, b c}{d}\right )}{2 \, b} \]
[In]
[Out]
\[ \int (c+d x)^m \cos (a+b x) \, dx=\int \left (c + d x\right )^{m} \cos {\left (a + b x \right )}\, dx \]
[In]
[Out]
\[ \int (c+d x)^m \cos (a+b x) \, dx=\int { {\left (d x + c\right )}^{m} \cos \left (b x + a\right ) \,d x } \]
[In]
[Out]
\[ \int (c+d x)^m \cos (a+b x) \, dx=\int { {\left (d x + c\right )}^{m} \cos \left (b x + a\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int (c+d x)^m \cos (a+b x) \, dx=\int \cos \left (a+b\,x\right )\,{\left (c+d\,x\right )}^m \,d x \]
[In]
[Out]